﻿ <!--Areas文件夹下列表页面模板-->
@inject Microsoft.AspNetCore.Hosting.IWebHostEnvironment HostingEnvironment
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/css/bootstrap.min.css"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/css/ry-ui.css"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/css/style.css"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/fontawesome/4.7.0/css/fontawesome.min.css"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/js/jquery.min.js"))

    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/js/bootstrap.min.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/layer/layer.min.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/layui/layui.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/blockUI/jquery.blockUI.js"))

    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/bootstrap-table/bootstrap-table.min.css"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/bootstrap-table/bootstrap-table.min.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/zTree/v3/css/metroStyle/metroStyle.min.css"))

    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/zTree/v3/js/ztree.min.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/select2/4.0.6/css/select2.min.css"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/select2/4.0.6/js/select2.min.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/jquery.validation/1.14.0/jquery.validate.min.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ajax/libs/bootstrap-treetable/bootstrap-treetable.js"))
    @*加载公共组件js*@
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/js/ry-ui.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/util/yisha.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/util/yisha-init.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/util/yisha-jquery-ztree-plugin.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/util/yisha-plugin.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/util/yisha-plugin.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/js/framework-ui.js"))
    @BundlerHelper.Render(HostingEnvironment.ContentRootPath, Url.Content("~/ruoyi/js/common.js"))
    @RenderSection("header", false)
</head>
<body class="gray-bg">
    @RenderBody()
    <a id="scroll-up" href="#" class="btn btn-sm display"><i class="fa fa-angle-double-up"></i></a>
    @RenderSection("footer", false)
</body>
</html>
<script>
    $(function () {
        // 回到顶部绑定 因为这么滚动条是ui-layout-center 必须手动绑定
        if ($.fn.toTop !== undefined) {
            var opt = {
                win: $('.ui-layout-center'),
                doc: $('.ui-layout-center')
            };
            $('#scroll-up').toTop(opt);
        }
    })
</script>